package cn.ustb.service;

import cn.ustb.entity.User;

/**
 * @author ljy
 */
public interface UserService {
    /**
     * fetch data by username
     * @param  username username
     * @return User
     */
    User getUserName(String username);
    /**
     * update data by username
     * @param  user user
     */
    void update(User user);
}
